package cn.kgc.ffzw.day15.src.main.java.com.ffzw.ffzw;

public class Calculate {

    int num1,num2;
    double num3,num4,num5;

    public String addNum(int a,int b){
        num1=a;
        num2=b;
        return  "两个数和是"+(num1+num2);
    }


    public void addNum(double c,double d,double e){
        num3=c;
        num4=d;
        num5=e;
        System.out.println("三个数和是"+(num3+num4+num5));
    }

}
